package com.coders.android.spring.service;

import com.coders.android.hibernate.dao.TaxiDAO;
import com.coders.android.hibernate.dto.Taxi;

public class TaxiService {

	private TaxiDAO taxiDAO;
	
	public TaxiDAO getTaxiDAO() {
		return taxiDAO;
	}

	public void setTaxiDAO(TaxiDAO taxiDAO) {
		this.taxiDAO = taxiDAO;
	}

	public void insertar( Taxi taxi ) {
		taxiDAO.insertar(taxi);
	}
	
	public void eliminar( String imei ) {
		taxiDAO.eliminar(imei);
	}
}
